let SWDA_Scene_Battle_start = Scene_Battle.prototype.start;
Scene_Battle.prototype.start = function() {
    SWDA_Scene_Battle_start.call(this);
    if ($gameSwitches.value(300))
        this.clearXianglu();
};

Scene_Battle.prototype.clearXianglu = function(){
    $gameTimer.stop();
    $gameSwitches.setValue(300,false)
    $gameSystem.enableEncounter();
    $gameScreen._pictures[99] = null;
}